package com.ncloud.resman.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.ncloud.common.utils.excel.ExcelResources;

/**
 * user:sundelong  date:2017年8月11日
 */
public class RepairRecord implements Serializable {
	@JSONField(serializeUsing=ToStringSerializer.class)
    private Long id;
	private String eqptType;
    private String snId;
	private String  repairState;
	private String solution;
	
	@JSONField(format = "yyyy-MM-dd")		
	private Date repairDate;
	
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long createUser;
	@JSONField(format = "yyyy-MM-dd")
	private Date createDate;
	@JSONField(serializeUsing=ToStringSerializer.class)
	private Long updateUser;
	@JSONField(format = "yyyy-MM-dd")
	private Date updateDate; 
	private String remark;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@ExcelResources(title="设备类型",order=1)
	public String getEqptType() {
		return eqptType;
	}
	public void setEqptType(String eqptType) {
		this.eqptType = eqptType;
	}

	@ExcelResources(title="SN编号",order=2)
	public String getSnId() {
		return snId;
	}
	public void setSnId(String snId) {
		this.snId = snId;
	}
	@ExcelResources(title="报修状态",order=3)
	public String getRepairState() {
		return repairState;
	}
	public void setRepairState(String repairState) {
		this.repairState = repairState;
	}
	
	
	@ExcelResources(title="解决方案",order=4)
	public String getSolution() {
		return solution;
	}
	public void setSolution(String solution) {
		this.solution = solution;
	}
	
	@ExcelResources(title="报修时间",order=5)	
	public Date getRepairDate() {
		return repairDate;
	}
	public void setRepairDate(Date repairDate) {
		this.repairDate = repairDate;
	}
	
	
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	
	public Long getCreateUser() {
		return createUser;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Long getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
}
